package com.yfqy.admin.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 *
 */
@Data
@TableName(value = "sys_user_role")
public class SysUserRole {
    /**
     *
     */
    @TableId(value = "id")
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 角色id
     */
    @TableField(value = "role_id")
    private Long roleId;

    /**
     * 1-正常，0-无效
     */
    @TableField(value = "status")
    private Byte status;

    /**
     *
     */
    @TableField(value = "created_time")
    private Date createdTime;

    /**
     *
     */
    @TableField(value = "created_by")
    private Long createdBy;

    /**
     *
     */
    @TableField(value = "modified_time")
    private Date modifiedTime;

    /**
     *
     */
    @TableField(value = "modified_by")
    private Long modifiedBy;

}